//
//  SelectLanguageCell.m
//  ImGuider
//
//  Created by 王鹏宇 on 2018/3/5.
//  Copyright © 2018年 imguider. All rights reserved.
//

#import "SelectLanguageCell.h"
#import <ImGuider_X-Swift.h>

@implementation SelectLanguageCell

- (void)awakeFromNib {
    [super awakeFromNib];
    // Initialization code
    
    self.selectionStyle = UITableViewCellSelectionStyleNone;
    self.languageNameLabel.textColor = [UIColor hexStringToColorWithHexString:@"#5A5A5A"];
}


- (void)setIsSelect:(BOOL)isSelect {
    _isSelect = isSelect;
    if (isSelect) {
        
        self.iconImageView.image = [UIImage imageNamed:@"translation选中"];
        
    }else{
        self.iconImageView.image = [UIImage imageNamed:@""];
    }
}

- (void)layoutSubviews {
    
    [super layoutSubviews];
    self.isSelect = _isSelect;
}
- (void)setSelected:(BOOL)selected animated:(BOOL)animated {
    [super setSelected:selected animated:animated];

    // Configure the view for the selected state
}

@end
